home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000390_anthonypieper@cs.com_Thu Nov 6 15:40:18 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  1KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: anthonypieper@cs.com (newexpectuser)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Problem with Kermit spawned from Expect script sending files
  5. Date: 6 Nov 2003 12:16:15 -0800
  6. Organization: http://groups.google.com
  7. Lines: 31
  8. Message-ID: <f0bb0f39.0311061216.1ba040a0@posting.google.com>
  9. NNTP-Posting-Host: 209.251.39.194
  10. Content-Type: text/plain; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. X-Trace: posting.google.com 1068149775 9812 127.0.0.1 (6 Nov 2003 20:16:15 GMT)
  13. X-Complaints-To: groups-abuse@google.com
  14. NNTP-Posting-Date: Thu, 6 Nov 2003 20:16:15 +0000 (UTC)
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14645
  16.  
  17. I have the following lines from my EXPECT script, which first spawns
  18. KERMIT, but it is failing trying to get a file called testfile.txt
  19.  
  20.  
  21. This is part of the script:
  22.  
  23. .
  24. .
  25. cd /home
  26. expect {
  27.    "#" {
  28.       send "send *.*\r"
  29.       expect {
  30.       "#" {
  31.       send "rm *.*\r"
  32. .
  33. .
  34.  
  35.  
  36. I get this error message when I run it interactively:
  37.  
  38. "send: unable to stat draft file /root/Mail/testfile.txt: No such file
  39. or directory"
  40.  
  41. I'm not sure why it is looking in the /root/Mail directory for this
  42. file.
  43.  
  44. Also, doesn't the KERMIT Send command have a /delete option to delete
  45. after succesful transfer ?
  46.  
  47. Thanks.
  48.